<me:UIVV x:Class="WPFExcelReport.TSVV08"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"    
                  xmlns:KR="clr-namespace:WPFExcelReport;assembly=TKUNDADR"   
                    xmlns:VP="clr-namespace:WPFExcelReport;assembly=TVVPACK" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIVV.Resources>
        <CollectionViewSource  x:Key="vwMaster" />
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIVV.Resources>
    <StackPanel> 
    <WrapPanel>
            <Button Click="ResetSeq" Content="{Binding Source={Localization:Translate Word=重置序列号}}"
                    Visibility="{Binding IsITX,Converter={StaticResource bv}}"/>
            <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=发货单:}}"></TextBlock>
        <ComboBox 
                    IsEditable="True" 
                    Width="Auto" 
                    SelectedValuePath="KEY" 
                    DisplayMemberPath="KEY"
                    ItemsSource="{Binding Source={StaticResource vwMaster}}" 
                    IsSynchronizedWithCurrentItem="True" 
            >
        </ComboBox  >
        <Button  Grid.Column="1" Click="ManageCommand" Width="24" Height="20" HorizontalAlignment="Left" 
                             Visibility="{Binding IsMaster,Converter={StaticResource bv}}" >
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Extend.png" />
            </Button.Background>
        </Button>
    </WrapPanel>
        <WrapPanel>
            <TextBlock Text="{Binding VKPVVTS}" 
                   Visibility="{Binding IsOneMore,Converter={StaticResource bv}}"></TextBlock>

        </WrapPanel>
    </StackPanel>
</me:UIVV> 
 
